package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_lion_dance_user_process", autoSave = true,uploadCk = true,desc = "狮跃汴京-个人进度")
public class LogLionDanceUserProcess extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "本次材料消耗")
    private int useNum;

    @FieldTypeAnnotation(desc = "累计材料消耗")
    private int totalUseNum;

    @FieldTypeAnnotation(desc = "累计进度")
    private int totalProcess;


    @FieldTypeAnnotation(desc = "奖励")
    private String reward = "";

    public LogLionDanceUserProcess(int activityId, long userId, int useNum, int totalUseNum, int totalProcess, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.useNum = useNum;
        this.totalUseNum = totalUseNum;
        this.totalProcess = totalProcess;
        this.reward = reward;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getUseNum() {
        return useNum;
    }

    public void setUseNum(int useNum) {
        this.useNum = useNum;
    }

    public int getTotalUseNum() {
        return totalUseNum;
    }

    public void setTotalUseNum(int totalUseNum) {
        this.totalUseNum = totalUseNum;
    }

    public int getTotalProcess() {
        return totalProcess;
    }

    public void setTotalProcess(int totalProcess) {
        this.totalProcess = totalProcess;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
